package comet.util;

import java.io.IOException;
import java.io.PrintWriter;

public class SendMessageUntil {
	public static void sendMessage(PrintWriter writer, String message) throws IOException {
		// default message format is message-size ; message-data ;
		writer.print(message.length());
		writer.print(";");
		writer.print(message);
		writer.print(";");
		writer.flush();
	}
}
